import request from "@/utils/request";

export function loginByUsername(data) {
  return request({
    url: "/sysuser/getUser",
    method: "GET",
    params: data
  });
}

export function loginOut(data) {
  return request({
    url: "/auth/logout",
    method: "get",
    params: data
  });
}
